package com.yejhxt.apiInterface;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestParam;

public interface ProfileInterface {
	
	public void ProfileSelectHandler(@RequestParam(value = "access_token", defaultValue = "") String sid,
			HttpServletRequest request, HttpServletResponse response, Model model,
			HttpSession session) ;

	public void ProfileUpdateHandler(
			@RequestParam(value = "access_token", defaultValue = "") String sid,
			@RequestParam(value = "realname", defaultValue = "") String realname,
			@RequestParam(value = "gender", defaultValue = "") String gender,
			@RequestParam(value = "occupation", defaultValue = "") String occupation,
			@RequestParam(value = "company", defaultValue = "") String company,
			@RequestParam(value = "address", defaultValue = "") String address,
			@RequestParam(value = "phone", defaultValue = "") String phone,
			@RequestParam(value = "email", defaultValue = "") String email,
			@RequestParam(value = "qq", defaultValue = "") String qq,
			HttpServletRequest request, HttpServletResponse response, Model model,
			HttpSession session) ;
	
	

	

}